#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int arr[10] = { 1,2,3,4,5,6,7,8,9,10 };
	int* p = arr;
	int i;
	for (i = 0; i < 10; i++)
	{
		printf("%d", *(p+i));
		
	}

	return 0;
}

int main()
{
	int arr[10] = { 1,2,3,4,5,6,7,8,9,10 };
	int sz = sizeof(arr) / sizeof(arr[]);
	int(* p)[10] = &arr;
	int i = 0;
	//p --- &arr
	//*p -- *&arr -- arr
	for (i = 0; i < sz; i++)
	{
		printf("%d ", *((*p) + i));//(*p)[i]
	}

	return 0;
}